<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');

/**
 * SimplyPost
 *
 * @author		Pascal Kriete
 * @package		SimplyPost
 * @copyright	Copyright (c) 2008, Pascal Kriete
 * @license 	http://www.gnu.org/licenses/lgpl.txt
 */

// ------------------------------------------------------------------------

/**
 * Set html title
 *
 * @access	public
 * @param	string	email address
 * @param	string	password
 * @return	void
 */
function secure_password($email, $password)
{
	$CI =& get_instance();
	
	$salt = sha1($password.$CI->config->item('encryption_key'));
	return sha1($salt.$email);
}

?>